import $ from "../utils/requset"

//购物车数据
const cartlist = () => {
    return $({
        url: "/member/cart",
        method: "get",
    })
}

// 猜你喜欢
const youlike = (params) => {
    return $({
        url: "/goods/relevant",
        method: "get",
        params
    })
}

// 获取收获地址列表
const addresslist = () => {
    return $({
        url:"/member/address",
        method:"get",
    })
}

export default {
    cartlist,
    youlike,
    addresslist
}